<?php

/**
 * aubor : Tran Minh Toan
 */

class Zend_View_Helper_showUser{
    
    public function showUser($view){
        
        $user = $view->user;
        
        $strHtml = '';
        if(isset ($user)){
        
            $strHtml .= '</br><b>Họ và tên</b> : ' . $user->user_fullname;
            $strHtml .= '</br><b>Tên tài khoản</b> : ' . $user->user_account;
            $strHtml .= '</br><b>Mật khẩu</b> : ******';
            $strHtml .= '</br><b>Địa chỉ</b> : ' . $user->user_address;
            $strHtml .= '</br><b>Ngày sinh</b> : ' . $user->user_birthday;
            $strHtml .= '</br><b>ID Card</b> : ' . $user->user_idcard;
            $strHtml .= '</br><a class="icon-1" href="'.$view->baseUrl().'/user/edit/id/'.$user->user_id.'"/>';
        }
        return $strHtml;
    }
}
?>

